package com.qyl.mainclass;

public class Graphics {

    //图形的基本信息
    private double lg;
    private double wide;
    private double high;
    private double radious;

    //有参构造方法
    public Graphics(double lg,double wide,double high,double radious){
        this.lg = lg;
        this.wide = wide;
        this.high = high;
        this.radious = radious;
    }

    //无参构造方法
    public Graphics(){
        this.lg = 0;
        this.wide = 0;
        this.high = 0;
        this.radious = radious;
    }

    //绘图方法
    public void drawing(){
        System.out.println("别急，正在绘图");
    }

    public double getLg() {
        return lg;
    }

    public void setLg(double lg) {
        this.lg = lg;
    }

    public double getWide() {
        return wide;
    }

    public void setWide(double wide) {
        this.wide = wide;
    }

    public double getHigh() {
        return high;
    }

    public void setHigh(double high) {
        this.high = high;
    }

    public double getRadious() {
        return radious;
    }

    public void setRadious(double radious) {
        this.radious = radious;
    }
}
